package com.shop.cloud.domain.hongfu;

import java.time.OffsetDateTime;
import java.util.Date;
import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.shop.cloud.common.mapper.OffsetDateTimeToIso8601Serializer;
import com.shop.cloud.common.mybatis.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * sys_config-sys_config
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class SysConfig extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	public static final String CONFIG_REGISTER_GIVE_POINTS = "config_register_give_points";
	public static final String CONFIG_SMS_CODE_EXPIRE_TIME = "config_sms_code_expire_time";
	public static final String CONFIG_IMAGE_BASE_URL = "config_image_base_url";
	public static final String CONFIG_OFFICAL_NAME = "config_offical_name";
	public static final String CONFIG_OFFICAL_AVATAR = "config_offical_avatar";
	public static final String CONFIG_SHARE_BASE_URL = "config_share_base_url";
	public static final String CONFIG_INVITE_RULE = "config_invite_rule";
	public static final String CONFIG_INVITE_SHARE_TITLE = "config_invite_share_title";
	public static final String CONFIG_INVITE_SHARE_ICON = "config_invite_share_icon";
	public static final String CONFIG_INVITE_SHARE_DETAIL = "config_invite_share_detail";
	public static final String CONFIG_SIGN_POINTS = "config_sign_points";
	public static final String CONFIG_ENABLE_CHECK_GOODS = "config_enable_check_goods";
	public static final String CONFIG_INFUND_SCALE = "config_infund_scale";
	public static final String CONFIG_USER_PROTOCOL = "config_user_protocol";
	public static final String CONFIG_ABOUT_US = "config_about_us";
	public static final String CONFIG_BALANCE_DESC = "config_balance_desc";
	public static final String CONFIG_POINTS_DESC = "config_points_desc";
    
	/**
	 * 配置类型。
1：链接
2：富文本
	 */
	@ApiModelProperty(value = "配置类型。1：链接2：富文本")
	 private Integer type;
	/**
	 * 域名
	 */
	@ApiModelProperty(value = "域名")
	 private String field;
	/**
	 * 域值
	 */
	@ApiModelProperty(value = "域值")
	 private String value;
	/**
	 * 说明
	 */
	@ApiModelProperty(value = "说明")
	 private String memo;
    
    public SysConfig(){
    
    }
    
    public Integer getType() {
        return this.type;
    }
    
    public void setType(Integer type) {
        this.type = type;
    }
    public String getField() {
        return this.field;
    }
    
    public void setField(String field) {
        this.field = field;
    }
    public String getValue() {
        return this.value;
    }
    
    public void setValue(String value) {
        this.value = value;
    }
    public String getMemo() {
        return this.memo;
    }
    
    public void setMemo(String memo) {
        this.memo = memo;
    }

}